package com.eb.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BargainGoodsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BargainGoodsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andGoodIdIsNull() {
            addCriterion("good_id is null");
            return (Criteria) this;
        }

        public Criteria andGoodIdIsNotNull() {
            addCriterion("good_id is not null");
            return (Criteria) this;
        }

        public Criteria andGoodIdEqualTo(Long value) {
            addCriterion("good_id =", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdNotEqualTo(Long value) {
            addCriterion("good_id <>", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdGreaterThan(Long value) {
            addCriterion("good_id >", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdGreaterThanOrEqualTo(Long value) {
            addCriterion("good_id >=", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdLessThan(Long value) {
            addCriterion("good_id <", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdLessThanOrEqualTo(Long value) {
            addCriterion("good_id <=", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdIn(List<Long> values) {
            addCriterion("good_id in", values, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdNotIn(List<Long> values) {
            addCriterion("good_id not in", values, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdBetween(Long value1, Long value2) {
            addCriterion("good_id between", value1, value2, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdNotBetween(Long value1, Long value2) {
            addCriterion("good_id not between", value1, value2, "goodId");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("start_time is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(Date value) {
            addCriterion("start_time =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(Date value) {
            addCriterion("start_time <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(Date value) {
            addCriterion("start_time >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("start_time >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(Date value) {
            addCriterion("start_time <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("start_time <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<Date> values) {
            addCriterion("start_time in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<Date> values) {
            addCriterion("start_time not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(Date value1, Date value2) {
            addCriterion("start_time between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("start_time not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("end_time is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("end_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(Date value) {
            addCriterion("end_time =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(Date value) {
            addCriterion("end_time <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(Date value) {
            addCriterion("end_time >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("end_time >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(Date value) {
            addCriterion("end_time <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("end_time <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<Date> values) {
            addCriterion("end_time in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<Date> values) {
            addCriterion("end_time not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(Date value1, Date value2) {
            addCriterion("end_time between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("end_time not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andXgNumIsNull() {
            addCriterion("xg_num is null");
            return (Criteria) this;
        }

        public Criteria andXgNumIsNotNull() {
            addCriterion("xg_num is not null");
            return (Criteria) this;
        }

        public Criteria andXgNumEqualTo(Integer value) {
            addCriterion("xg_num =", value, "xgNum");
            return (Criteria) this;
        }

        public Criteria andXgNumNotEqualTo(Integer value) {
            addCriterion("xg_num <>", value, "xgNum");
            return (Criteria) this;
        }

        public Criteria andXgNumGreaterThan(Integer value) {
            addCriterion("xg_num >", value, "xgNum");
            return (Criteria) this;
        }

        public Criteria andXgNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("xg_num >=", value, "xgNum");
            return (Criteria) this;
        }

        public Criteria andXgNumLessThan(Integer value) {
            addCriterion("xg_num <", value, "xgNum");
            return (Criteria) this;
        }

        public Criteria andXgNumLessThanOrEqualTo(Integer value) {
            addCriterion("xg_num <=", value, "xgNum");
            return (Criteria) this;
        }

        public Criteria andXgNumIn(List<Integer> values) {
            addCriterion("xg_num in", values, "xgNum");
            return (Criteria) this;
        }

        public Criteria andXgNumNotIn(List<Integer> values) {
            addCriterion("xg_num not in", values, "xgNum");
            return (Criteria) this;
        }

        public Criteria andXgNumBetween(Integer value1, Integer value2) {
            addCriterion("xg_num between", value1, value2, "xgNum");
            return (Criteria) this;
        }

        public Criteria andXgNumNotBetween(Integer value1, Integer value2) {
            addCriterion("xg_num not between", value1, value2, "xgNum");
            return (Criteria) this;
        }

        public Criteria andGoodPriceIsNull() {
            addCriterion("good_price is null");
            return (Criteria) this;
        }

        public Criteria andGoodPriceIsNotNull() {
            addCriterion("good_price is not null");
            return (Criteria) this;
        }

        public Criteria andGoodPriceEqualTo(Integer value) {
            addCriterion("good_price =", value, "goodPrice");
            return (Criteria) this;
        }

        public Criteria andGoodPriceNotEqualTo(Integer value) {
            addCriterion("good_price <>", value, "goodPrice");
            return (Criteria) this;
        }

        public Criteria andGoodPriceGreaterThan(Integer value) {
            addCriterion("good_price >", value, "goodPrice");
            return (Criteria) this;
        }

        public Criteria andGoodPriceGreaterThanOrEqualTo(Integer value) {
            addCriterion("good_price >=", value, "goodPrice");
            return (Criteria) this;
        }

        public Criteria andGoodPriceLessThan(Integer value) {
            addCriterion("good_price <", value, "goodPrice");
            return (Criteria) this;
        }

        public Criteria andGoodPriceLessThanOrEqualTo(Integer value) {
            addCriterion("good_price <=", value, "goodPrice");
            return (Criteria) this;
        }

        public Criteria andGoodPriceIn(List<Integer> values) {
            addCriterion("good_price in", values, "goodPrice");
            return (Criteria) this;
        }

        public Criteria andGoodPriceNotIn(List<Integer> values) {
            addCriterion("good_price not in", values, "goodPrice");
            return (Criteria) this;
        }

        public Criteria andGoodPriceBetween(Integer value1, Integer value2) {
            addCriterion("good_price between", value1, value2, "goodPrice");
            return (Criteria) this;
        }

        public Criteria andGoodPriceNotBetween(Integer value1, Integer value2) {
            addCriterion("good_price not between", value1, value2, "goodPrice");
            return (Criteria) this;
        }

        public Criteria andGoodUpsetIsNull() {
            addCriterion("good_upset is null");
            return (Criteria) this;
        }

        public Criteria andGoodUpsetIsNotNull() {
            addCriterion("good_upset is not null");
            return (Criteria) this;
        }

        public Criteria andGoodUpsetEqualTo(Integer value) {
            addCriterion("good_upset =", value, "goodUpset");
            return (Criteria) this;
        }

        public Criteria andGoodUpsetNotEqualTo(Integer value) {
            addCriterion("good_upset <>", value, "goodUpset");
            return (Criteria) this;
        }

        public Criteria andGoodUpsetGreaterThan(Integer value) {
            addCriterion("good_upset >", value, "goodUpset");
            return (Criteria) this;
        }

        public Criteria andGoodUpsetGreaterThanOrEqualTo(Integer value) {
            addCriterion("good_upset >=", value, "goodUpset");
            return (Criteria) this;
        }

        public Criteria andGoodUpsetLessThan(Integer value) {
            addCriterion("good_upset <", value, "goodUpset");
            return (Criteria) this;
        }

        public Criteria andGoodUpsetLessThanOrEqualTo(Integer value) {
            addCriterion("good_upset <=", value, "goodUpset");
            return (Criteria) this;
        }

        public Criteria andGoodUpsetIn(List<Integer> values) {
            addCriterion("good_upset in", values, "goodUpset");
            return (Criteria) this;
        }

        public Criteria andGoodUpsetNotIn(List<Integer> values) {
            addCriterion("good_upset not in", values, "goodUpset");
            return (Criteria) this;
        }

        public Criteria andGoodUpsetBetween(Integer value1, Integer value2) {
            addCriterion("good_upset between", value1, value2, "goodUpset");
            return (Criteria) this;
        }

        public Criteria andGoodUpsetNotBetween(Integer value1, Integer value2) {
            addCriterion("good_upset not between", value1, value2, "goodUpset");
            return (Criteria) this;
        }

        public Criteria andKnifeIsNull() {
            addCriterion("knife is null");
            return (Criteria) this;
        }

        public Criteria andKnifeIsNotNull() {
            addCriterion("knife is not null");
            return (Criteria) this;
        }

        public Criteria andKnifeEqualTo(Integer value) {
            addCriterion("knife =", value, "knife");
            return (Criteria) this;
        }

        public Criteria andKnifeNotEqualTo(Integer value) {
            addCriterion("knife <>", value, "knife");
            return (Criteria) this;
        }

        public Criteria andKnifeGreaterThan(Integer value) {
            addCriterion("knife >", value, "knife");
            return (Criteria) this;
        }

        public Criteria andKnifeGreaterThanOrEqualTo(Integer value) {
            addCriterion("knife >=", value, "knife");
            return (Criteria) this;
        }

        public Criteria andKnifeLessThan(Integer value) {
            addCriterion("knife <", value, "knife");
            return (Criteria) this;
        }

        public Criteria andKnifeLessThanOrEqualTo(Integer value) {
            addCriterion("knife <=", value, "knife");
            return (Criteria) this;
        }

        public Criteria andKnifeIn(List<Integer> values) {
            addCriterion("knife in", values, "knife");
            return (Criteria) this;
        }

        public Criteria andKnifeNotIn(List<Integer> values) {
            addCriterion("knife not in", values, "knife");
            return (Criteria) this;
        }

        public Criteria andKnifeBetween(Integer value1, Integer value2) {
            addCriterion("knife between", value1, value2, "knife");
            return (Criteria) this;
        }

        public Criteria andKnifeNotBetween(Integer value1, Integer value2) {
            addCriterion("knife not between", value1, value2, "knife");
            return (Criteria) this;
        }

        public Criteria andBargainIsNull() {
            addCriterion("bargain is null");
            return (Criteria) this;
        }

        public Criteria andBargainIsNotNull() {
            addCriterion("bargain is not null");
            return (Criteria) this;
        }

        public Criteria andBargainEqualTo(Integer value) {
            addCriterion("bargain =", value, "bargain");
            return (Criteria) this;
        }

        public Criteria andBargainNotEqualTo(Integer value) {
            addCriterion("bargain <>", value, "bargain");
            return (Criteria) this;
        }

        public Criteria andBargainGreaterThan(Integer value) {
            addCriterion("bargain >", value, "bargain");
            return (Criteria) this;
        }

        public Criteria andBargainGreaterThanOrEqualTo(Integer value) {
            addCriterion("bargain >=", value, "bargain");
            return (Criteria) this;
        }

        public Criteria andBargainLessThan(Integer value) {
            addCriterion("bargain <", value, "bargain");
            return (Criteria) this;
        }

        public Criteria andBargainLessThanOrEqualTo(Integer value) {
            addCriterion("bargain <=", value, "bargain");
            return (Criteria) this;
        }

        public Criteria andBargainIn(List<Integer> values) {
            addCriterion("bargain in", values, "bargain");
            return (Criteria) this;
        }

        public Criteria andBargainNotIn(List<Integer> values) {
            addCriterion("bargain not in", values, "bargain");
            return (Criteria) this;
        }

        public Criteria andBargainBetween(Integer value1, Integer value2) {
            addCriterion("bargain between", value1, value2, "bargain");
            return (Criteria) this;
        }

        public Criteria andBargainNotBetween(Integer value1, Integer value2) {
            addCriterion("bargain not between", value1, value2, "bargain");
            return (Criteria) this;
        }

        public Criteria andActivityDetailIsNull() {
            addCriterion("activity_detail is null");
            return (Criteria) this;
        }

        public Criteria andActivityDetailIsNotNull() {
            addCriterion("activity_detail is not null");
            return (Criteria) this;
        }

        public Criteria andActivityDetailEqualTo(String value) {
            addCriterion("activity_detail =", value, "activityDetail");
            return (Criteria) this;
        }

        public Criteria andActivityDetailNotEqualTo(String value) {
            addCriterion("activity_detail <>", value, "activityDetail");
            return (Criteria) this;
        }

        public Criteria andActivityDetailGreaterThan(String value) {
            addCriterion("activity_detail >", value, "activityDetail");
            return (Criteria) this;
        }

        public Criteria andActivityDetailGreaterThanOrEqualTo(String value) {
            addCriterion("activity_detail >=", value, "activityDetail");
            return (Criteria) this;
        }

        public Criteria andActivityDetailLessThan(String value) {
            addCriterion("activity_detail <", value, "activityDetail");
            return (Criteria) this;
        }

        public Criteria andActivityDetailLessThanOrEqualTo(String value) {
            addCriterion("activity_detail <=", value, "activityDetail");
            return (Criteria) this;
        }

        public Criteria andActivityDetailLike(String value) {
            addCriterion("activity_detail like", value, "activityDetail");
            return (Criteria) this;
        }

        public Criteria andActivityDetailNotLike(String value) {
            addCriterion("activity_detail not like", value, "activityDetail");
            return (Criteria) this;
        }

        public Criteria andActivityDetailIn(List<String> values) {
            addCriterion("activity_detail in", values, "activityDetail");
            return (Criteria) this;
        }

        public Criteria andActivityDetailNotIn(List<String> values) {
            addCriterion("activity_detail not in", values, "activityDetail");
            return (Criteria) this;
        }

        public Criteria andActivityDetailBetween(String value1, String value2) {
            addCriterion("activity_detail between", value1, value2, "activityDetail");
            return (Criteria) this;
        }

        public Criteria andActivityDetailNotBetween(String value1, String value2) {
            addCriterion("activity_detail not between", value1, value2, "activityDetail");
            return (Criteria) this;
        }

        public Criteria andRemainingIsNull() {
            addCriterion("remaining is null");
            return (Criteria) this;
        }

        public Criteria andRemainingIsNotNull() {
            addCriterion("remaining is not null");
            return (Criteria) this;
        }

        public Criteria andRemainingEqualTo(Integer value) {
            addCriterion("remaining =", value, "remaining");
            return (Criteria) this;
        }

        public Criteria andRemainingNotEqualTo(Integer value) {
            addCriterion("remaining <>", value, "remaining");
            return (Criteria) this;
        }

        public Criteria andRemainingGreaterThan(Integer value) {
            addCriterion("remaining >", value, "remaining");
            return (Criteria) this;
        }

        public Criteria andRemainingGreaterThanOrEqualTo(Integer value) {
            addCriterion("remaining >=", value, "remaining");
            return (Criteria) this;
        }

        public Criteria andRemainingLessThan(Integer value) {
            addCriterion("remaining <", value, "remaining");
            return (Criteria) this;
        }

        public Criteria andRemainingLessThanOrEqualTo(Integer value) {
            addCriterion("remaining <=", value, "remaining");
            return (Criteria) this;
        }

        public Criteria andRemainingIn(List<Integer> values) {
            addCriterion("remaining in", values, "remaining");
            return (Criteria) this;
        }

        public Criteria andRemainingNotIn(List<Integer> values) {
            addCriterion("remaining not in", values, "remaining");
            return (Criteria) this;
        }

        public Criteria andRemainingBetween(Integer value1, Integer value2) {
            addCriterion("remaining between", value1, value2, "remaining");
            return (Criteria) this;
        }

        public Criteria andRemainingNotBetween(Integer value1, Integer value2) {
            addCriterion("remaining not between", value1, value2, "remaining");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}